<template>
  <UniversalContainer name="加载Button" :paramaters="type">
    <!-- loading为true会有旋转loading标志 -->
    <Button :loading="true">加载中</Button>
    <Button :loading="false">加载完毕</Button>
  </UniversalContainer>
</template>

<script setup lang="ts">
import Button from "../../baseComponent/Button.vue";
import UniversalContainer from "../UniversalContainer.vue";
import { ref } from "vue";
const type = ref(
  `
  import Button from "../../baseComponent/Button.vue";

  <Button :loading="true">加载中</Button>
  <Button :loading="false">加载完毕</Button>
  `
);
</script>

<style scoped lang="scss"></style>
